 $(function(){
 	readUname();
 	showContentTip();
 });

function showContentTip(){
	layer.open({
		type:0,
		title:系统提示,
		area:"auto",
		icon:1,
		time:2000,
		anim:2,
		offert:'rb',
		content:"欢迎"+sessionStorage.getItem("uname")+"登录"
	});
}

function readUname()
{
	var uname=sessionStorage.getItem("uname");
	$("uname").html(uname);
}

function loadDataDict(){
	$("#mainFrame").load("baseinfor/dataDictionaryManage.html");
}
function loadPersonCenter(){
	$("#mainFrame").load("personCenter.html");
}
function loadCompanyPeople(){
	$("#mainFrame").load("baseinfor/loadCompanyPeople.html");
}

function loadsystem(){
	$("#mainFrame").load("baseinfor/loadSystemUser.html");
}
function loadmoney(){
	$("#mainFrame").load("baseinfor/money.html");
}
function loadpaintAssetManager(){
	$("#mainFrame").load("baseInformanager/paintAssetManager.html");
}
function loadCompanyPeopleManager(){
	$("#mainFrame").load("baseInformanager/CompanyPeopleManager.html");
}
function loaddataDictManage(){
	$("#mainFrame").load("baseInformanager/dataDictManage.html");
}
function loadsysUserManage(){
	$("#mainFrame").load("baseInformanager/sysUserManage.html");
}
function loadMoneyClassManage(){
	$("#mainFrame").load("baseInformanager/MoneyClassManage.html");
}
function loadCarManage(){
	$("#mainFrame").load("baseInformanager/CarManage.html");
}
function loadCarManage(){
	$("#mainFrame").load("baseInformanager/CarManage  new.html");
}
function loadStaticMoney(){
	$("#mainFrame").load("baseInformanager/StaticMoney.html");
}
function loadCarMoney(){
	$("#mainFrame").load("baseInformanager/CarMoney.html");
}
function loadfincalManage(){
	$("#mainFrame").load("baseInformanager/fincalManage.html");
}
function loadMoneyManage(){
	$("#mainFrame").load("baseInformanager/MoneyManage.html");
}

function sysExit(){
	layer.confirm("是否确认退出系统？",{
	btn:["确定","取消"],
	icon:4,
	btnAlign:"c",
	shade:.5,
	anim:6
    },function(){
	window.location.href="login new.html";
    });
}

function drawer(){
	layer.open({
		type:2,
		title:"修改密码",
		shadeClose:true,
		shade:0.01,
		closeBtn:1,
		anim:5,
		isOutAnim:false,
		area:['500px','320px'],
		content:["modifyUpwd.html","no"],
		btn:["确定"],
		yes:function(){
			layer.msg("密码修改成功！",{icon:1});
		}
	});
}
